package com.sdp.wx.db.wx_countersignature_project.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author zsp
 * @since 2024-03-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wx_countersignature_project")
public class WxCountersignatureProject extends Model<WxCountersignatureProject> {

    private static final long serialVersionUID=1L;

    /**
     * 内码
     */
    @TableId("key_id")
    private String keyId;

    /**
     * 会签id
     */
    @TableField("countersignature_id")
    private String countersignatureId;

    /**
     * 开支项目名称
     */
    @TableField("project_name")
    private String projectName;

    /**
     * 单据张数
     */
    @TableField("document_num")
    private String documentNum;

    /**
     * 金额
     */
    @TableField("document_money")
    private String documentMoney;

    /**
     * 付款方式
     */
    @TableField("pay_type")
    private String payType;

    /**
     * 时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;


    @Override
    protected Serializable pkVal() {
        return this.keyId;
    }

}
